package ${classPath};


@Getter
@ToString
public class ${domain}NotExistException extends RecordNotExistException {
  private static final long serialVersionUID = 1L;
  
  <#list fieldList as field>
  /** ${field.comment} */
  private ${field.type} ${field.name};
  <#if field_has_next>
  
  </#if>
  </#list>
  
  public ${domain}NotExistException(//
    <#list fieldList as field>
    ${field.type} ${field.name}<#if field_has_next>,</#if>//${field.comment}
    </#list>
  ) {
    super("找不到对应的${classComment}记录");
    
    
    <#list fieldList as field>
    this.${field.name} = ${field.name};
    </#list>
  }


}
